<?php
use think\Route;
Route::rule('add_shopping_cart','index/goodslist/add_shopping_cart','post');
Route::rule('update_data','index/cart/update_data','post');
Route::rule('show_goods_total','index/cart/show_goods_total','post');
Route::rule('login','index/login/login','post');
//Route::rule('Login','index/login/index');
//Url::build('index/login/index','id=5&name=thinkphp');
//url('index/login/index','id=5&name=thinkphp');
//Route::rule('new','index/login/index');
//Url::build('@index/login/index','id=5');
//url('@index/login/index','id=5');
//return [
//     "news/:id"=>"index/index/info"
//];
return [
    "new"=>"index/login/index"
];